package com.speciality.demo.demos.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.speciality.demo.demos.entity.User;

import java.util.List;

public interface UserService extends IService<User> {
    void add(User user);
    User login (User user);
    List<User> allUser();
    User getByUsername(String username); // 根据用户名查询
}
